﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElectronicCommerce.Framework.Payment.Contract.DataContract.Common;

namespace ElectronicCommerce.Framework.Payment.Contract.DataContract.Refund
{
    /// <summary>
    /// 退款单
    /// </summary>
    public class RefundInfo
    {
        public RefundInfo()
        {
            this.SOID = "";
            this.RefundAmount = 0;
            this.CurrencyCode = CurrencyCode.CNY;
            this.ReasonDesc = "";
            this.RefundDate = DateTime.Now;
        }

        /// <summary>
        /// 订单号
        /// </summary>
        public string SOID { get; set; }

        /// <summary>
        /// 要退款的金额
        /// </summary>
        public decimal RefundAmount { get; set; }

        /// <summary>
        /// 交易币种
        /// </summary>
        public CurrencyCode CurrencyCode { get; set; }

        /// <summary>
        /// 退款原因说明
        /// </summary>
        public string ReasonDesc { get; set; }

        /// <summary>
        /// 退款日期
        /// </summary>
        public DateTime RefundDate { get; set; }
    }
}
